home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 9695 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.4 KB

  1. Path: news.ultranet.com!usenet
  2. From: "Albert P. Belle Isle" <belleisl@cerberus-sys.com>
  3. Newsgroups: alt.winsock.trumpet,alt.winsock,comp.dcom.modems
  4. Subject: Re: TCP: Unacceptable Segments
  5. Date: Sat, 30 Mar 1996 14:05:33 -0500
  6. Organization: Cerberus Systems, Inc.
  7. Message-ID: <315D85FD.601E@cerberus-sys.com>
  8. References: <4jebju$glg@iz.comcat.com>
  9. NNTP-Posting-Host: apb-p5-90.cerberus-sys.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (Win16; I)
  14.  
  15. Howard Arons wrote:
  16. > I'm tuning Trumpet's MSS, MTU and RWIN using Al Belle Isle's
  17. > outstanding FAQ as a guide. Current settings are MTU=1500, RWIN=4096,
  18. > MSS=1024. These have given reasonable download speeds, but my TCP
  19. > trace shows intermittent "Unacceptable Segment" messages that must be
  20. > slowing things down. Trumpet reports no PPP Frame errors or COM
  21. > overruns.
  22. > The Unacceptable Segments do not have the same id, although seg
  23. > 00000001 is often involved after a resync and connect to a new Home
  24. > Page. The lines below are typical:
  25. > 2104.8 80->1039 seq 00003AB2 ack 000000E7 ACK  wind 14335 data 512
  26. > 2104.8 1039->80 seq 000000E7 ack 00003CB2 ACK  wind 3584
  27. > 2104.9 80->1040 seq 00000001 ack 000000E8 PSH ACK  wind 14335 data 78
  28. > Unacceptable segment : seg.seq=00000001 rcv.nxt=000000B3
  29. > BTW, what is a "PSH ACK"?
  30. > Can anyone offer any suggestions? Is this just an effect of Net
  31. > traffic, or can I hope to cure the problem and get better speed?
  32. > TIA,
  33. > --
  34. > Howard Arons
  35.  
  36. Howard:
  37.  
  38. I believe that "PSH" denotes a "push" flag included in the TCP header telling any 
  39. relaying TCP servers (like proxies or firewalls) not to hold the segment until an 
  40. RWIN-full has arrived before forwarding it directly to the intended end-recipient.
  41.  
  42. Received TCP segments are "unacceptable" most frequently because their data has already 
  43. been "accepted" by your winsock. They are re-transmissions from a sender whose RTOmax 
  44. timed-out before he received your winsock's ACK for that data segment.
  45.  
  46. Often, packets routed through different paths arrive out of sequence, so your winsock 
  47. holds them until the laggard packet arrives, at which time it ACKs all bytes through 
  48. the last sequence number in the last-sent packet.
  49.  
  50. This tolerance for holding packets (and delaying ACKs) increases with the size of your 
  51. RWIN, which sets the maximum TCP flow-control window size. However, a larger RWIN gives 
  52. better average throughput over routing paths available only in bursts.
  53.  
  54. Trade-off.
  55.  
  56. Re-transmissions can also be stimulated by the overhead needed to reassemble fragmented 
  57. IP transmission units; especially if compounded by multi-path routing. That's why the 
  58. "lazy-man's choice" of TCP MSS=536 (the Internet router default MTU of 576 less 40 
  59. bytes of space for the IP and TCP headers) is usually a good "set-it-and-forget-it" 
  60. value for downloads from outside your ISPs Local Area Network (over the Internet).
  61.  
  62. Once your winsock tuning yields modem-limited speeds (3.2KBytes/sec for uncompressible 
  63. files over a 28.8Kbps connection), no further tuning will make your modem any faster. 
  64. (A direct connection is a different story, of course.)
  65.  
  66. Regards,
  67.  
  68. Al
  69.  
  70. -- 
  71. ==================================================================
  72. Albert P. Belle Isle
  73. Cerberus Systems, Inc.
  74.  
  75. Al's Winsock Tuning FAQ -
  76.        http://www.cerberus-sys.com/~belleisl/mtu_mss_rwin.html
  77. ==================================================================
  78.